ShortPixel\Controller\FileSystemController B

Total Complexity 95
Dependencies 6
Dependents 2
Total lines 484
Lines of code 267
Logical lines of code 174
Comment lines 116
Methods 23
Properties 3

Methods 23

Method Rating Maintainability Complexity Lines of code
pathToUrl()
B
39 24 54
getBackupDirectory()
A
51 9 25
getMediaImage()
A
54 8 20
pathIsUrl()
S
61 9 10
getWPAbsPath()
S
56 5 17
flushImage()
S
62 5 11
sortFiles()
S
57 4 17
getCustomImage()
S
63 4 10
url_exists()
S
58 3 15
getWPFileBase()
S
61 3 12
getFilesRecursive()
S
62 3 12
getImage()
S
62 3 11
checkURL()
S
66 3 8
startTrustedMode()
S
71 2 6
endTrustedMode()
S
71 2 6
__construct()
S
80 1 3
getFile()
S
80 1 3
flushImageCache()
S
74 1 5
getCustomStub()
S
73 1 5
getOriginalImage()
S
72 1 5
getDirectory()
S
80 1 3
getWPUploadBase()
S
74 1 4
checkBackUpFolder()
S
73 1 5